/*
* INSANE - Interactive Structural Analysis Environment
*
* Copyright (C) 2003-2005
* Universidade Federal de Minas Gerais
* Escola de Engenharia
* Departamento de Engenharia de Estruturas
* 
* Author's email :    insane@dees.ufmg.br
* Author's website :  http://www.dees.ufmg.br/insane
* 
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or any later version.
* 
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/
package br.ufmg.dees.insane.util.pointValues;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Class representing BooleanPointValues
 * @author Roque, Marcos, Samir, Flavio, Jamile
 * @since Aug 2, 2005
 */
public class BooleanPointValues extends PointValues  implements Serializable{
    
	private static final long serialVersionUID = 1L;
    
    private ArrayList<Boolean> booleanPointValue;
    
    /**Constructs a BooleanPointValue and sets its size to 6.*/
    public BooleanPointValues() {
        booleanPointValue = new ArrayList<Boolean>();
    }
    
    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.pointValues.PointValues#getPointValue()
     */
    public ArrayList<Boolean> getPointValue(){
    	return this.booleanPointValue;
    }
    
    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#getDoublePointValue()
     */
    public ArrayList<Double> getDoublePointValue() {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#getIntPointValue()
     */
    public ArrayList<Integer> getIntPointValue() {
        // TODO Auto-generated method stub
        return null;
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#getBooleanPointValue()
     */
    public ArrayList<Boolean> getBooleanPointValue() {
        return this.booleanPointValue;
    }
    
    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.pointValues.PointValues#getPointValue(int)
     */
    public Boolean getPointValue(int i) {
        return this.booleanPointValue.get(i);
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#getDoublePointValue(int)
     */
    public double getDoublePointValue(int i) {
        // TODO Auto-generated method stub
        return 0;
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#getIntPointValue(int)
     */
    public int getIntPointValue(int i) {
        // TODO Auto-generated method stub
        return 0;
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#getBooleanPointValue(int)
     */
    public boolean getBooleanPointValue(int i) {
        return this.booleanPointValue.get(i);
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#setPointValueAsDouble(double[])
     */
    public void setPointValueAsDouble(ArrayList<Double> dpv) {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#setPointValueAsInt(int[])
     */
    public void setPointValueAsInt(ArrayList<Integer> ipv) {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#setPointValueAsBoolean(boolean[])
     */
    public void setPointValueAsBoolean(ArrayList<Boolean> bpv) {
    	for(int i=0; i<booleanPointValue.size(); i++) {
    		this.booleanPointValue.set(i, (Boolean)bpv.get(i));
    	}
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#setPointValueAsDouble(int, double)
     */
    public void setPointValueAsDouble(int i, double d) {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#setPointValueAsInt(int, int)
     */
    public void setPointValueAsInt(int i, int integer) {
        // TODO Auto-generated method stub
        
    }

    /* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#setPointValueAsBoolean(int, boolean)
     */
    public void setPointValueAsBoolean(int i, boolean b) {
        this.booleanPointValue.set(i, b);
    }

	public ArrayList<String> getStringPointValue() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getStringPointValue(int i) {
		// TODO Auto-generated method stub
		return null;
	}

	public void setPointValueAsString(ArrayList<String> spv) {
		// TODO Auto-generated method stub
		
	}

	public void setPointValueAsString(int i, String s) {
		// TODO Auto-generated method stub
		
	}
	
	/* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#addPointValue(double d)
     */
	public void addPointValue(double d) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#addPointValue(int integer)
     */
	public void addPointValue(int integer) {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#addPointValue(boolean b)
     */
	public void addPointValue(boolean b) {
		this.booleanPointValue.add(b);
	}

	/* (non-Javadoc)
     * @see br.ufmg.dees.insane.util.PointValues#addPointValue(String s)
     */
	public void addPointValue(String s) {
		// TODO Auto-generated method stub
		
	}

	public int getSize() {
		return this.booleanPointValue.size();
	}
    
}